package com.ruoyi.system.domain;

import net.sf.jsqlparser.expression.DateTimeLiteralExpression;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.time.LocalDateTime;

/**
 * 阅读排行对象 read_rank
 * 
 * @author saruri
 * @date 2024-09-12
 */
public class ReadRank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private String readTitle;

    /**  */
    @Excel(name = "")
    private String readUrl;

    /**  */
    @Excel(name = "")
    private Long readId;

    /**  */
    @Excel(name = "")
    private String readCategory;

    /**  */
    @Excel(name = "")
    private Long hit;

    /**  */
    @Excel(name = "")
    private Long userId;

    /**  */
    @Excel(name = "")
    private String ip;

    /**  */
    @Excel(name = "")
    private Long device;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public LocalDateTime getReadTime() {
        return readTime;
    }

    public void setReadTime(LocalDateTime readTime) {
        this.readTime = readTime;
    }

    private LocalDateTime readTime;


    public Long getId() 
    {
        return id;
    }
    public void setReadTitle(String readTitle) 
    {
        this.readTitle = readTitle;
    }

    public String getReadTitle() 
    {
        return readTitle;
    }
    public void setReadUrl(String readUrl) 
    {
        this.readUrl = readUrl;
    }

    public String getReadUrl() 
    {
        return readUrl;
    }
    public void setReadId(Long readId) 
    {
        this.readId = readId;
    }

    public Long getReadId() 
    {
        return readId;
    }
    public void setReadCategory(String readCategory) 
    {
        this.readCategory = readCategory;
    }

    public String getReadCategory() 
    {
        return readCategory;
    }
    public void setHit(Long hit) 
    {
        this.hit = hit;
    }

    public Long getHit() 
    {
        return hit;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setDevice(Long device) 
    {
        this.device = device;
    }

    public Long getDevice() 
    {
        return device;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("readTitle", getReadTitle())
            .append("readUrl", getReadUrl())
            .append("readId", getReadId())
            .append("readCategory", getReadCategory())
            .append("hit", getHit())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("ip", getIp())
            .append("device", getDevice())
            .toString();
    }
}
